<!--
 * @Author       : cxh
 * @Date         : 2021-12-20 14:36:38
 * @LastEditTime : 2021-12-20 14:46:16
 * @LastEditors  : cxh
 * @Description  : testVue
 * @FilePath     : \vue_WorkSpace\day01\index.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.9/vue.common.dev.js"></script>
</head>

<body>
    <div id="app">
        {{ message }}
    </div>
    <div id="aap-2">
        <span v-bind:title="msg">
            鼠标悬停几秒钟查看此处动态绑定的提示信息！
        </span>
    </div>
    <div id="app-3">
        <p v-if="seen">现在你看到我了</p>
    </div>
</body>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            message: 'Hello Vue!'
        }
    })

    var app2 = new Vue({
        el: "#aap-2",
        data: {
            msg: '页面加载于 ' + new Date().toLocaleString()
        }
    })



    var app3 = new Vue({
        el: '#app-3',
        data: {
            seen: true
        }
    })
</script>

</html>